package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping("/status")
    public String status(){
        return "health";
    }

    @GetMapping("/")
    public String root(){
        return "root";
    }
}
